import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';
import get from '@dfeidao/atom-web/local/get';
import set_node_cls from "@dfeidao/atom-web/ui/set-node-cls";

import fire from '@dfeidao/atom-web/msg/fire';

export default async function a008(fd: IFeidaoAiBrowserComponent) {
	// todo
	const no = get(fd, 'id1') as string;
	console.log("IDDIDID", no);
	fire('zj-000008', 'a001', '2', no);
	const p3 = fd.data.node.querySelector<HTMLDivElement>('[data-feidao-presentation="p003"]');
	set_node_cls(p3, 'display-n', true);
}
